<?php
/**
 * Created by PhpStorm.
 * User: zyd
 * Date: 2019/2/20
 * Time: 21:41
 */

namespace app\shawting\controller;


use think\Controller;
use think\Session;

class Base extends Controller
{
    public function _initialize()
    {
        if(!Session::get("admin_id")){
            $this->redirect("login/index");
        }

    }
}